var t = require("../../@babel/runtime/helpers/interopRequireDefault")(require("../../@babel/runtime/helpers/defineProperty"));

Component({
    options: {
        multipleSlots: !0
    },
    properties: (0, t.default)({
        title: {
            type: String
        },
        content: {
            type: String
        },
        link: {
            type: String
        }
    }, "content", {
        type: String
    }),
    data: {
        flag: !0
    },
    methods: {
        hidePopup: function() {
            this.setData({
                flag: !this.data.flag
            });
        },
        showPopup: function() {
            this.setData({
                flag: !this.data.flag
            });
        },
        _success: function() {
            this.triggerEvent("success");
        }
    }
});